package data;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;


public class MyData {
	public static void main(String[] args) {
		Date dateRu = new Date();
		StringBuilder sb = new StringBuilder();
		sb.append(new SimpleDateFormat("dd MMMM yyyy",new Locale("RU")).format(dateRu));		
		System.out.println(sb);
		StringBuilder sb2  = new StringBuilder().append(new SimpleDateFormat("HH:mm:ss").format(new Date())); 
		System.out.println(sb2);
		Date example = new Date();
		StringBuilder exs = new StringBuilder();
		exs.append(new SimpleDateFormat("dd MMMM yyyy HH:mm:ss",new Locale("RU")).format(example));
		System.out.println(exs);
	}
}
